FROM docker.elastic.co/logstash/logstash:7.6.2
RUN logstash-plugin install logstash-output-mongodb && rm -f /usr/share/logstash/pipeline/*
COPY conf/pipeline/udp.conf /usr/share/logstash/pipeline/udp.conf
COPY conf/config/logstash.yml /usr/share/logstash/config/logstash.yml

EXPOSE 9600 10866/udp
